package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组织问答对对象 sys_questions
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class SysQuestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 问题 */
    @Excel(name = "问题")
    private String question;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 提问者ID */
    @Excel(name = "提问者ID")
    private String userId;

    /** 回复者ID */
    @Excel(name = "回复者ID")
    private String respondentId;

    /** 已读 */
    @Excel(name = "已读")
    private Long userRead;

    /** 组织ID */
    @Excel(name = "组织ID")
    private String orgId;

    /** $column.columnComment */
    private String company;

    /** 客服ID */
    @Excel(name = "客服ID")
    private String orgmemberId;

    /** 存储在大模型那边的id */
    private String qaId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setRespondentId(String respondentId) 
    {
        this.respondentId = respondentId;
    }

    public String getRespondentId() 
    {
        return respondentId;
    }

    public void setUserRead(Long userRead) 
    {
        this.userRead = userRead;
    }

    public Long getUserRead() 
    {
        return userRead;
    }

    public void setOrgId(String orgId) 
    {
        this.orgId = orgId;
    }

    public String getOrgId() 
    {
        return orgId;
    }

    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }

    public void setOrgmemberId(String orgmemberId) 
    {
        this.orgmemberId = orgmemberId;
    }

    public String getOrgmemberId() 
    {
        return orgmemberId;
    }

    public void setQaId(String qaId) 
    {
        this.qaId = qaId;
    }

    public String getQaId() 
    {
        return qaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("question", getQuestion())
            .append("answer", getAnswer())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("respondentId", getRespondentId())
            .append("userRead", getUserRead())
            .append("createTime", getCreateTime())
            .append("orgId", getOrgId())
            .append("company", getCompany())
            .append("orgmemberId", getOrgmemberId())
            .append("qaId", getQaId())
            .toString();
    }
}
